projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ae6491
)
Reduce poll time for Haiku file dialogs
author
Po Lu
<luangruo@yahoo.com>
Sun, 16 Jan 2022 10:12:22 +0000
(10:12 +0000)
committer
Po Lu
<luangruo@yahoo.com>
Sun, 16 Jan 2022 10:12:22 +0000
(10:12 +0000)
* src/haiku_support.c (be_popup_file_dialog): Reduce idle
processor load by increasing timeout. The timeout is still too
low to be noticable by the user.
src/haiku_support.cc
patch
|
blob
|
history
diff --git
a/src/haiku_support.cc
b/src/haiku_support.cc
index 4b180f98b7cb17cffa3352b78fe65cc9daa80066..de2c798b65151c3de46c0829cea7af58d36c9bba 100644
(file)
--- a/
src/haiku_support.cc
+++ b/
src/haiku_support.cc
@@
-2818,7
+2818,7
@@
be_popup_file_dialog (int open_p, const char *default_dir, int must_match_p, int
enum haiku_event_type type;
char *ptr = NULL;
- if (!haiku_read_with_timeout (&type, buf, 200, 100000))
+ if (!haiku_read_with_timeout (&type, buf, 200, 100000
0
))
{
block_input_function ();
if (type != FILE_PANEL_EVENT)